# Maintainer: Pierre Neidhardt <ambrevar@gmail.com>
# Contributor: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>

pkgname=python-pypeg2
pkgver=2.15.2
pkgrel=9
pkgdesc="An intrinsic PEG Parser-Interpreter for Python"
arch=("any")
url="https://fdik.org/pyPEG/"
license=("GPL2")
depends=("python")
source=("https://pypi.python.org/packages/source/p/pyPEG2/pyPEG2-$pkgver.tar.gz")
sha256sums=('2b2d4f80d8e1a9370b2a91f4a25f4abf7f69b85c8da84cd23ec36451958a1f6d')

package() {
	cd "$srcdir/pyPEG2-$pkgver"
	python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
}
